<?php
	class Discussion{
		protected $_id;
		protected $_document;
		protected $_user;
		protected $_timestamp;
		protected $_message;

		public function __construct($_id, $_document, $_user, $_timestamp, $_message){
			$this->_id = $_id;
			$this->_document = $_document;
			$this->_user = $_user;
			$this->_timestamp = $_timestamp;
			$this->_message = $_message;
		}
		/**
		 * @return the $_id
		 */
		public function getId() {
			return $this->_id;
		}

		/**
		 * @return the $_document
		 */
		public function getDocument() {
			return $this->_document;
		}

		/**
		 * @return the $_user
		 */
		public function getUser() {
			return $this->_user;
		}

		/**
		 * @return the $_timestamp
		 */
		public function getTimestamp() {
			return $this->_timestamp;
		}

		/**
		 * @return the $_message
		 */
		public function getMessage() {
			return $this->_message;
		}

		/**
		 * @param Integer $_id
		 */
		public function setId($_id) {
			$this->_id = $_id;
		}

		/**
		 * @param Document $_document
		 */
		public function setDocument($_document) {
			$this->_document = $_document;
		}

		/**
		 * @param User $_user
		 */
		public function setUser($_user) {
			$this->_user = $_user;
		}

		/**
		 * @param Date $_timestamp
		 */
		public function setTimestamp($_timestamp) {
			$this->_timestamp = $_timestamp;
		}

		/**
		 * @param String $_message
		 */
		public function setMessage($_message) {
			$this->_message = $_message;
		}
	}
?>